package com.wuwei.elearning.question.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wuwei
 * @since 2024-02-01
 */
@Data
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * question表的主键
     */
    private Long questionId;

    /**
     * 反馈时间
     */
    private LocalDateTime createdTime;

    /**
     * user表的主键
     */
    private Long createdBy;

    /**
     * user表的name
     */
    private String createdName;

    /**
     * 反馈次数
     */
    private Integer times;

    /**
     * question表的name
     */
    private String questionName;

}
